formEvent

Class: com.microstrategy.web.app.taglibs.FormEventTag

Description:

FormEventTag.

Usage:

This custom tag enables users to define forms associated with an event within ASP pages.
For example:
 <web:formEvent formMethod="POST" eventID="com.microstrategy.web.app.beans.EnumServletEvents.WebEventCancel" runat="server" >
   <INPUT TYPE="SUBMIT" VALUE='Close'/>
 </web:formEvent>
 
The form defined with the custom tag will include all the required hidden inputs. If arguments are required, they can be added by using the eventArgument tag.
Since this class extends the {@link EventTag}, there are some tag attributes that do not apply to it. The complete list of attributes supported by this tag are:
  • eventID
  • formName
  • formMethod
  • target


  • Name Required? Description
    appendPageState false  
    eventID true Indicates the ID of the event that will be used for generating this tag (form, link, etc).
    The event defined here should be a valid one, otherwise it will not have an effect on the resulting HTML to be shown to the user.
    formMethod false Indicates the method to use when submitting the form.
    Usage:
    Either get or post can be used as possible values of this attribute. It will specify the way the form will be submitted per user request.
    formName false Indicates the form name to be associated with the resulting HTML form tag.
    runat true Indicates that the ASP.Net control should be processed on the server
    target false Indicates the target to use for the event to handle on this custom tag.
    Usage:
    The value assigned to this attribute shall be used as TARGET value on the HTML tag to create with the given information (for example: <FORM TARGET="xxx" ACTION=... > or <A TARGET="xxx" HREF=... >